// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.os.AsyncTask;
import android.text.TextUtils;
import com.nnee.p_pr.p_activity.p_view.cls_FlingGallery;
import com.nnee.p_pr.p_app.cls_PrisApp;
import com.nnee.p_pr.p_atom.cls_u;
import java.util.ArrayList;
import java.util.Iterator;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            dd, MainGridActivity, n

class cls_be extends AsyncTask
{

    private cls_be(cls_MainGridActivity parammaingridactivity)
    {super();
        a = parammaingridactivity;
        
    }

    cls_be(cls_MainGridActivity parammaingridactivity, cls_n n)
    {
        this(parammaingridactivity);
    }

    static void a(cls_be be1, ArrayList arraylist)
    {
        be1.a(arraylist);
    }

    private void a(ArrayList arraylist)
    {
        b = arraylist;
    }

    protected Void a(Void avoid[])
    {
        if(b != null && b.size() > 0)
        {
            Iterator iterator = b.iterator();
            while(iterator.hasNext()) 
            {
            	cls_dd dd1 = (cls_dd)iterator.next();
                cls_u u1 = cls_MainGridActivity.a(a, cls_MainGridActivity.c(a), dd1.a());
                if(u1 != null)
                    u1.b(dd1.b());
            }
        }
        return null;
    }

    protected void a(Void void1)
    {
        if(b != null && b.size() > 0 && cls_MainGridActivity.d(a) != null)
        {
            Iterator iterator = b.iterator();
            do
            {
                if(!iterator.hasNext())
                    break;
                cls_dd dd1 = ( cls_dd)iterator.next();
                if(!TextUtils.isEmpty(dd1.a()))
                    cls_MainGridActivity.d(a).b(dd1.a());
            } while(true);
            cls_MainGridActivity.d(a).invalidate();
            b = null;
            cls_PrisApp.a().f();
            System.gc();
        }
    }

    protected Object doInBackground(Object aobj[])
    {
        return a((Void[])aobj);
    }

    protected void onPostExecute(Object obj)
    {
        a((Void)obj);
    }

    final cls_MainGridActivity a;
    private ArrayList b;
}
